﻿<!--{inc(header.view.html)}-->

<div class="content" id="content">
	<div class="top-menu-box">
    	<div class="z">
            <span class="z-f"><a href="#">系统维护</a>&nbsp;&gt;</span>
            <span class="z-f"><a href="#">模板列表</a></span>
            <div class="z-f-r"><span class="user-t">当前语言为：</span><span class="user-info"><?php echo $GLOBALS['langdata'][$GLOBALS['langtype']] ;?></span><!-- <a href="#">退出</a> --></div>
        </div>
        <div class="top-menu">
        	<ul>
            	<li class="current"><a href="#">模板列表</a></li>
			
				
				
            </ul>
            <div class="clear"></div>
        </div>
    </div>
    
    <div class="main">

    <table  class="data" >
        <thead>
			
	<th>模板截图</th>
	<th>模板名称标题</th>
	<th>模板文件夹名称</th>
	<th>模板描述</th>
	<th>样式选择</th>    
	<th>操作</th>			
			
			
        </thead>
	    <tbody>
		
		
<?php foreach((array)$infos as $_key => $_value ) { ?>                             

  <tr   >

    <td ><img src="{SITE_URL}/scup/view/{$_key}/config/{$_value.image}" width="100px" height="100px" /></td>
    <td >{$_value.title}</td>
	<td >{$_key}</td>
    <td >{$_value.description}</td>
    
	<td >
 <select  onchange="ato_url('index.php?app=view&act=setcss&view={$_key}',this);" id="orderby">
<option class="txtgreen" value="0" >请选择...</option>
<?php foreach((array)$_value.style as $_key1 => $_value1 ) { ?>
<option value="{$_key1}"  <?php if (CSS_TYPE==$_key1) { ?> selected="selected" <?php } ?> >{$_value1.title}</option>
<?php } ?>
</select>   
    </td>
	
    <td>
	<?php if ($_key == VIEW_TYPE) { ?>...<?php } else { ?><a href="?app=view&act=lstatus&id={$_key}" onclick="return confirm('模板启用确认！此操作将会更改模板的使用 ！');">启用</a><?php } ?>
	
	
    
	</td>
	
 </tr>
 
<?php } ?>	
		
		
		
	    </tbody>
    </table>
	

	
        
        <div class="notic"><img  src="{$web_view_dir}style/images/light.gif" align="absmiddle" /> <b>提示: </b>
                                                                  <span > 除非您修改了模板，否则一般不需要更新。除非您对PHPSCUP的模板很熟悉，否则，请不要随便修改模板，不恰当的模板会导致系统不能访问！</span></div>
    </div>
</div>
<!--{inc(footer.view.html)}-->